/* 禁止文字选中============================================================================================== */
.forbiden_txt,h1,
h2,h3,h4,h5,p,font,label{
    -o-user-select: none;
    -moz-user-select: none; /*火狐 firefox*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10+*/
    -khtml-user-select :none; /*早期的浏览器*/
    user-select: none;
}

body{
    overflow-x:hidden;
    overflow-y:hidden;
    /* 登录按钮长宽 */
    --login_WH:100px;/*20%;*/

    /* 主题色 */
    --main_color:#2a3fff;
    /* 次主题色 */
    --sub_color: rgb(4, 167, 140);
    /* 主要字体色 */
    --main-font-color:#000;
    /* 次要字体色 */
    --sub-font-color:#666;
    /* 淡灰色 */
    --sub-color:#aaa;
    --cir_shadow:rgb(255, 113, 87);

    /* 动画延时快 */
    --transform_qukily:0.3s;
    /* 动画延时慢 */
    --transform_slowily:0.5s;
}

*{
    margin: 0;
    padding: 0;
    transition: opacity var(--transform_slowily);
}

/*======quicksand字体===================================================================================================*/
/* quicksand字体 */

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(http://localhost:8080/nchkkjxy/font/quicksand.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(http://localhost:8080/nchkkjxy/font/quicksand.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(http://localhost:8080/nchkkjxy/font/quicksand.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*===自定义单选框============================================================================================*/
.my-radio {
    display: flex;
    /* 让子元素垂直排列 */
    flex-direction: row;
}
.my-radio label {
    margin: 5px;
    display: flex;
    /* 鼠标移入变小手 */
    cursor: pointer;
}
.my-radio label input {
    /* 隐藏元素 先显示出来 */
    display: none;
}
/* + 是相邻兄弟选择器 */
.my-radio label input + span {
    display: flex;
    /* 让伪元素和文字水平排列 */
    align-items: center;
    padding: 5px 10px;
    margin-bottom: 10px;
    font-size: 40px;
    border-radius: 90px;
    transition: all 0.3s;
}
/* 鼠标移入变背景颜色 */
.my-radio label input + span:hover {
    background-color: rgba(4, 167, 140, 0.3);
}
/* 选中单选按钮对应的span元素背景颜色改变 */
.my-radio label input:checked + span {
    background-color: rgba(4, 167, 140, 0.31);
}
.my-radio label input + span::before {
    content: "";
    /* 伪元素是行内元素 需要转为块级元素才能设置宽高 */
    display: block;
    width: 20px;
    height: 20px;
    /* 圆角属性 */
    border-radius: 50%;
    margin-right: 15px;
    background-color: #fff;
    /* 盒子阴影 inset是内部阴影 */
    box-shadow: 0 0 0 5px var(--sub_color) inset;
    /* 加个过渡时间 */
    transition: all 0.3s;
}
.my-radio label input:checked + span::before {
    /* 选中的元素内部的阴影加深 */
    box-shadow: 0 0 0 15px var(--sub_color) inset;
}


/*滚动条样式//==============================================================================================/*/
/* 设置滚动条的样式 */
*::-webkit-scrollbar {
    width:10px;
    border-radius: 20px;
}
/* 滚动槽 */
*::-webkit-scrollbar-track {
    background-color: #fff;
    -webkit-box-shadow: var(--sub_color);
    border-radius:10px;
}
/* 滚动条滑块 */
*::-webkit-scrollbar-thumb {
    background: var(--sub_color);
    border-radius: 20px;
}
*::-webkit-scrollbar-thumb:window-inactive {
    background:rgba(255,0,0,0.4);
}
*::-webkit-scrollbar {
    /*display: none;*/
}

input,textarea{
    caret-color: var(--sub_color);
    border-radius: 2px;
    border: 1px solid var(--sub_color);
}
input:focus,textarea:focus{
    outline: 2px solid var(--sub_color);
    /*box-shadow: 0 0 8px var(--sub_color);*/
}
input:hover,textarea:hover{
    box-shadow: 0 0 6px var(--sub_color);
}


/*提示框样式==============================================================================================*/
.my_tip{
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 14px;
    transform: translate(-50%,-50%);
    background-color: rgba(4, 167, 140,0.6);
    /*display: inline-block;*/
    padding: 5px 15px;
    border-radius:2px;
    opacity: 0;
    z-index: 99;
}

.my_tip span{
    padding: 2px;
    text-align: center;
    color: #fff;
}


/*自定义表格==============================================================================================*/
.my-table-template{
    position: relative;
    width: 99%;
    height: 95%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    border-radius: 5px;
    box-shadow: 0 0 8px #aaa;
    padding: 5px;
    /*background-color: #c7254e;*/
}
/*//表格操作*/
.operator-tab{
    /*position: relative;*/
    /*width: 90%;*/
    /*height: 10%;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    /*background-color: #4e65c7;*/
    padding: 5px;
}
.operator-tab input[type='button']:focus{
    outline: none;
    border: 0;
}
.operator-tab input[type='button']:hover{
    font-weight: 800;
}
/*//普通按钮*/
.operator-tab .normal{
    background-color: var(--sub_color);
    color: #fff;
    transition: all var(--transform_slowily);
    border: 0;
}
.operator-tab .normal:hover{
    box-shadow: 0 0 8px var(--sub_color);
}
/*警示按钮*/
.operator-tab .alter{
    background-color: #c7254e;
    color: #fff;
    transition: all var(--transform_slowily);
    border: 0;
}
.operator-tab .alter:hover{
    box-shadow: 0 0 8px #c7254e;
}
/*信息按钮*/
.operator-tab .msg{
    background-color: #4e65c7;
    color: #fff;
    transition: all var(--transform_slowily);
    border: 0;
}
.operator-tab .msg:hover{
    box-shadow: 0 0 8px #4e65c7;
}

.my-table{
    width: 100%;
    height: calc(100% - 40px);
    max-height: calc(100% - 40px);
    min-height: calc(100% - 40px);
}
.my-table .my_th{
    background-color: var(--sub_color);
    color: #fff;
}
.my-table tbody tr{
    display: table;
    border-bottom: 1px #666 solid;
    table-layout: fixed;
    transition: all var(--transform_slowily);
}
.my-table tbody tr:hover {
    background-color: #ccc;
    /*color:var(--sub_color);*/
    font-weight: 800;
}
.my-table .my-td,
.my-table .my-th{
    text-align: center;
    font-size: 16px;
    padding-top: 10px;
}
.my-table .my-tb{
    position: relative;
    display: block;
    height: 100%;
    /*height: 300px;*/
    overflow-y: scroll;
    border-bottom: 1px solid var(--sub_color);
    border-top: 1px solid var(--sub_color);
}
.my-table .my-tr{
    display: table;
    width: 100%;
    height: 40px;
    table-layout: fixed;/*重要  表格固定算法*/
}
.my-table .my-tf{
    /*display: block;*/
    bottom: 0;
    border-top: 1px solid var(--sub_color);
    /*background-color: #c7254e;*/
}
.inlineBlock{
    display: inline-block;
    margin: 0 5px 0 5px;
}
.page-list-box:hover .page-list{
    display: inline-block;
    animation: pageListOut 1s ease-in-out;
    animation-fill-mode: forwards;
}
@keyframes  pageListOut{
    from{
        height: 0;
        width: 0;
        opacity: 0;
    }
    to{
        height: 200px;
        width: 80px;
        opacity: 1;
    }
}
.rodPage{
    cursor: pointer;
    background-color: var(--sub_color);
    color: #fff;
    padding: 4px;
    border-radius: 2px;
}
.page-list-box {
    position: relative;
    cursor: no-drop;
}
.page-list-box .page-list{
    display: none;
    /*position: fixed;*/
    position: absolute;
    width: 80px;
    top:50%;
    left:50%;
    transform: translate(-50%,-100%);

    background-color: #4e65c7;
    color: #fff;
    z-index: 10;
    max-height: 200px;
    border-radius: 5px;
    overflow-y: auto;
    transition: all var(--transform_slowily);
}
.page-list ul{
    list-style: none;
}
.page-list ul li{
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 10px;
    transition: all var(--transform_slowily);
}
.page-list ul li:hover{
    background-color: var(--sub_color);
}


.my-table input[type='checkbox']{
    width: 20px;
    height: 20px;
    /*border: 1px solid var(--sub_color);*/
}
.my-table input[type='checkbox']:focus{
    border: 0;
    outline: none;
}
/*//行操作栏*/
.tab-operator,
.operator-btn{
    width: 80px;
    height: 30px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    /*margin: 0 10px 0 0px;*/
}
.operator-div{
    align-items: center;
}
.operator-div div{
    width: 100%;
    height: 100%;
    /*align-items: center;*/
}
.operator-div .tab-modify{
    background-color: #4e65c7;
}
.operator-div .tab-modify:hover{
    box-shadow: 0 0 10px #4e65c7;
}
.operator-div .tab-modify:focus{
    outline: 1px solid #4e65c7;
}
.operator-div .tab-remove{
    background-color: #c7254e;
    border: 1px solid #c7254e;
}
.operator-div .tab-remove:hover{
    box-shadow:0 0 10px #c7254e;
}
.operator-div .tab-remove:focus{
    outline: 1px solid #c7254e;
}

/*=自定义加载动画：四色圆圈===========================================================================================================*/
.my-loading {
    /*display: inline-block;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*margin: 100px;*/
    width: 50px;
    height: 50px;
    border: 5px dashed #aaa;
    border-radius: 50%;
    border-bottom-color: blue;
    border-top-color: rgb(4, 167, 140);
    border-right-color: crimson;
    border-left-color: #e3ff4f;
    animation-name: my-loading;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    /*transform-origin: 50% 50%;*/

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    transition: opacity 0.8s ease-in-out;
}
.my-loading .loading-point{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: blue;
    animation: my-loading-loading-point 2s infinite linear;
}
@keyframes my-loading-loading-point {
    0%{background-color: blue;transform: scale(1);box-shadow: 0 0 0 crimson;}
    25%{background-color: rgb(4, 167, 140);transform: scale(1.4);}
    50%{background-color: crimson;transform: scale(1.8);box-shadow: 0 0 10px crimson;}
    75%{background-color: #e3ff4f;transform: scale(1.4);}
    100%{background-color: blue;transform: scale(1);box-shadow: 0 0 0 crimson;}
}
@keyframes my-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*//大头像查看==================================================================================================================*/
.head-bigger-to-view{
    position: absolute;
    display: inline-block;
    width: 400px;
    height: 400px;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 5px solid #fff;
    background-position: center;
    background-repeat: no-repeat;
    /*background-color: #4e65c7;*/
    border-radius: 5px;
    background-size: 100% 100%;
    box-shadow: 0 0 10px #666;
    z-index: 20;
    animation: start_head_bigger_to_view 0.5s ease-in-out;
    animation-fill-mode: forwards;
    cursor: url('http://localhost:8080/nchkkjxy/pic/cursor_style/love.cur'),auto;
}
.head-bigger-to-view .close{
    display: flex;
    float: right;
    margin-top: 10px;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #c7254e;
    background: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.head-bigger-to-view .close:hover{

    transition: all 0.8s;
    animation: rolateClose 1s ease-in;
    animation-fill-mode: forwards;
    color: #fff;
    background: #c7254e;
}
@keyframes start_head_bigger_to_view {
    from{width: 0;height: 0;top:0;}
    to{width: 400px;height: 400px;top: 50%;}
}
@keyframes rolateClose {
    form{}
    50%{transform: rotate(360deg);}
    to{transform: rotate(-360deg);}
}

/*===自定义下拉框=================================================================================================*/
.my-select *{
    transition: all 0.5s;
}
.my-select {

    position: relative;
    min-width: 100px;
    max-width: 200px;
    background-color: rgba(4, 167, 140,0.1);

    color: rgb(4, 167, 140);



    font-size: 16px;

    border: none;


    cursor: pointer;

}

.my-select >.select-main {

    position: relative;
    padding: 10px;
    display: inline-block;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    font-weight: bold;
    text-align: center;
}

.my-select>.select-menu {

    display: none;

    position: absolute;

    min-width: 100px;
    max-width: 200px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    background-color: #f9f9f9;

    width: calc(100% - 2px);

    border-radius: 0 0 5px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

    border-left: 1px solid rgb(4, 167, 140);
    border-right: 1px solid rgb(4, 167, 140);
    border-bottom: 1px solid rgb(4, 167, 140);
    z-index: 99;

}

.my-select>.select-menu>a {

    color: rgb(4, 167, 140);

    padding: 12px 5px;

    text-decoration: none;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    display: block;
    /*text-align: center;*/
}
.my-select>.select-menu>a:last-child{
    border-radius: 0 0 5px 5px;
}
.my-select>.select-menu>a:hover {
    color: #fff;
    font-weight: bold;
    background-color: rgb(4, 167, 140) ;

}
.my-select:hover .select-menu {

    animation: unfold_menu 0.5s ease-out;
    display: block;


}
.my-select:hover{
    background-color: rgb(4, 167, 140);
    color: #fff;
}
.my-select:hover .select-main {
    /*background-color: #3e8e41;*/
}
@keyframes unfold_menu {
    0%{opacity: 0;}
    100%{opacity: 0.8;}
}

/*//dom结点提示文本==============================================================================*/
.elem-title{
    position:absolute;
    top:100%;
    left:50%;
    transform:translate(-50%,10px);
    width: 200%;
    text-align:center;
    padding:5px 10px;
    height: 0;
    background-color: #fff;
    border-radius:5px;
    color: #aaa;
    font-size: 14px;
}
.elem-title::before{
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translate(-50%,-9px);
    width: 0;
    height: 0;
    border: 9px solid;
    border-color: rgba(0,0,0,0) rgba(0,0,0,0) #fff rgba(0,0,0,0);
    /*border-color: #fff;*/
}